GskVulkanGlyphCache: Remove unused struct member
authorTimm Bäder <mail@baedert.org>
Fri, 17 Nov 2017 19:32:11 +0000 (20:32 +0100)
committerTimm Bäder <mail@baedert.org>
Fri, 1 Dec 2017 06:30:25 +0000 (07:30 +0100)
gsk/gskvulkanglyphcache.c

index c326c568db92140a6842267fb4e5c7740f179281..a17717f7d990b08850c5df440caa0f25b0967238 100644 (file)
@@ -23,7 +23,6 @@
 
 
 typedef struct {
-  cairo_surface_t *surface;
   GskVulkanImage *image;
   int width, height;
   int x, y, y0;
@@ -79,8 +78,6 @@ free_atlas (gpointer v)
 {
   Atlas *atlas = v;
 
-  if (atlas->surface)
-    cairo_surface_destroy (atlas->surface);
   g_clear_object (&atlas->image);
   g_list_free_full (atlas->dirty_glyphs, dirty_glyph_free);
   g_free (atlas);